package ru.kop4en.diplom;

import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import java.awt.FlowLayout;
import javax.swing.BoxLayout;
import java.awt.CardLayout;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;

public class Test extends JPanel
{
	public Test() {
		setLayout(new BorderLayout(0, 0));
		
		JPanel panel = new JPanel();
		add(panel, BorderLayout.CENTER);
		panel.setLayout(new BorderLayout(0, 0));
		
		JButton btnNewButton_4 = new JButton("old");
		panel.add(btnNewButton_4, BorderLayout.CENTER);
		
		JButton btnNewButton_5 = new JButton("new");
		panel.add(btnNewButton_5, BorderLayout.CENTER);
		
		JButton btnNewButton = new JButton("New button");
		add(btnNewButton, BorderLayout.NORTH);
		
		JButton btnNewButton_1 = new JButton("New button");
		add(btnNewButton_1, BorderLayout.SOUTH);
		
		JButton btnNewButton_2 = new JButton("New button");
		add(btnNewButton_2, BorderLayout.WEST);
		
		JButton btnNewButton_3 = new JButton("New button");
		add(btnNewButton_3, BorderLayout.EAST);
	}
	
	public static void main(String[] args)
	{

	}
}
